<?php
class Shop_Model_DbTable_AttrsSet extends Zend_Db_Table_Abstract {
	protected $_name ='shop_product_attrs_set';

	protected $_referenceMap    = array(
        'Attr' => array(
            'columns'           => 'attr_id',
            'refTableClass'     => 'Shop_Model_DbTable_Attr',
            'refColumns'        => 'id',
            'refColumnsAsName'  => 'name',
			'onDelete'			=> self::CASCADE
        ),
        'AttrSet' => array(
            'columns'           => 'attr_id',
            'refTableClass'     => 'Shop_Model_DbTable_AttrSet',
            'refColumns'        => 'id',
            'refColumnsAsName'  => 'name',
			'onDelete'			=> self::CASCADE
        )
    );
}